//
//  MemberCell.m
//  Hxcsfw
//
//  Created by 企友软mac on 2018/3/2.
//  Copyright © 2018年 企友软mac. All rights reserved.
//

#import "MemberCell.h"

@implementation MemberCell

- (void)awakeFromNib {
    [super awakeFromNib];
    _btnImmediately.layer.cornerRadius = 6.;
    _btnImmediately.layer.borderColor = WRGBColor(200, 226, 248).CGColor;
    _btnImmediately.layer.borderWidth = 1.f;
    _btnImmediately.layer.masksToBounds = YES;
}

- (IBAction)btnBuyClick:(UIButton *)sender {

    WLog(@"%zd",sender.tag);
    if (self.delegate && [self.delegate respondsToSelector:@selector(delegatBtnClick:)]){
        [self.delegate delegatBtnClick:sender];
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
